package com.dcxm.stu.dao

import com.dcxm.stu.bean.HomeWork

interface HomeWorkDao {
    fun insertHomeWork(homeWork: HomeWork, path: String): Int
    fun insertPath(path: String, id: Int): Int
    fun deleteHomeWork(id: String): Int
    fun listHomeWork(): List<HomeWork>
    fun listSelectHomeWorkById(id: String): HomeWork
    fun listSelectHomeWorkByType(type: String): List<HomeWork>
    fun updateHomeWork(homeWork: HomeWork): Int
}